package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * 采购详情
 */
@Data
public class PurchaseDetailInfo {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer pid; //采购单id

    private Integer supplyOrderId; //商品维护表id

    private Double shopPrice;//商品价格

    private Integer shopNum; //采购数量

    private Double totalPrice; //总价

    private Integer isDesign;//是否设计了入库详情表
    //0未设计，1已设计

    private Integer isDelete; //删除状态

    @TableField(exist = false)
    private  SupplierSupplyOfGoods supply; //供应商商品维护表
}